package cn.pupil.design.group;

/**
 * @Description: 树节点链路
 * @Author: pupil
 * @Date: 2024/07/27 下午 6:12
 */
public class Link {
    private String fromId; // 雇员ID，上级节点
    private String toId; // 雇员ID，下级节点

    public Link() {
    }

    public Link(String fromId, String toId) {
        this.fromId = fromId;
        this.toId = toId;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

    public String getToId() {
        return toId;
    }

    public void setToId(String toId) {
        this.toId = toId;
    }
}
